﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Peppers.Win32
{
    /// <summary>
    /// Class containing parameters for Shutdown
    /// </summary>
    public sealed class ShutdownParameters
    {
        /// <summary>
        /// Time in seconds to display dialog to user
        /// </summary>
        public int Timeout
        {
            get;
            set;
        }

        /// <summary>
        /// true to restart rather than shutdown
        /// </summary>
        public bool Restart
        {
            get;
            set;
        }

        /// <summary>
        /// Force close applications
        /// </summary>
        public bool ForceCloseApps
        {
            get;
            set;
        }

        /// <summary>
        /// Machine name to shutdown, use impersonator for remote, or null for local
        /// </summary>
        public string MachineName
        {
            get;
            set;
        }

        /// <summary>
        /// Message to display to user
        /// </summary>
        public string Message
        {
            get;
            set;
        }
    }
}
